package uy.edu.um.ltic.client.communication;

import java.util.ArrayList;

import uy.edu.um.ltic.commons.ExceptionComm;
import uy.edu.um.ltic.exception.DataBaseException;


public interface GeneralEntitiesRemoteClientMgt {
	boolean addCountry(String country) throws ExceptionComm, DataBaseException;
	boolean addPositionInCompany(String positionInCompany)throws ExceptionComm, DataBaseException;
	boolean addBranch(String branch)throws ExceptionComm, DataBaseException;
	boolean addDepartment(String department)throws ExceptionComm, DataBaseException;	
	void deleteCountry(String country)throws ExceptionComm, DataBaseException;
	void deletePositionInCompany(String positionInCompany)throws ExceptionComm, DataBaseException;
	void deleteBranch(String branch)throws ExceptionComm, DataBaseException;
	void deleteDepartment(String department)throws ExceptionComm, DataBaseException;
	ArrayList<String> getCountries()throws ExceptionComm, DataBaseException;
	ArrayList<String> getPositionsInCompany()throws ExceptionComm, DataBaseException;
	ArrayList<String> getBranches()throws ExceptionComm, DataBaseException;
	ArrayList<String> getDepartments()throws ExceptionComm, DataBaseException;
	void dropConnection(String nEmp)throws ExceptionComm;
	
}
